//
//  SaveDocument.h
//  FashionCoachTest
//
//  Created by a on 2017/4/15.
//  Copyright © 2017年 zsr. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UserModel.h"

@interface SaveDocument : NSObject

+ (instancetype)shareSaveDocument;
/*
 *沙盒存数组
 */
- (void)saveDocuments:(NSArray *)saveArray Name:(NSString *)name;
/*
 *沙盒取数组
 */
- (NSArray *)readtheArrayName:(NSString *)name;
/*
 *沙盒存字典
 */
- (void)saveDocuments:(NSDictionary *)saveDic Dicname:(NSString *)name;
/*
 *沙盒取数组
 */
- (NSDictionary *)readtheDicName:(NSString *)name;

- (UserModel *)getUserDataModel:(NSString *)name;

- (void)insertKey:(NSString *)key Value:(id)value Path:(NSString *)name;

@end
